Python precision management